<link rel="shortcut icon" href="../resources/favicon.ico" th:href="@{/static/favicon.ico}"/>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <!--  这行代码我也不太懂  -->
<!--    <link rel="shortcut icon" href="#"/>-->
</head>
<body>
<h1>首页</h1>
</body>
</html>